{template "header.html"}
<script language="javascript">
// 这是加入收藏夹的ajax请求，我就随意写了一下提示信息，至于美化啊什么交给你们了
function dr_favorite() {
	$.get("{MODULE_URL}index.php?c=api&m=favorite&id={$id}", function(data){
		if (data == 1) {
			dr_tips("没有登录，不能收藏");
		} else if (data == 2) {
			dr_tips("文档不存在，无法收藏");
		} else if (data == 3) {
			dr_tips("更新收藏成功", 3, 1);
		} else if (data == 4) {
			dr_tips("收藏成功", 3, 1);
		}
	});
}
</script>
<div class="Dg">您当前位置：<a href="{SITE_URL}">首页</a>  > <a href="{MODULE_URL}">{MODULE_NAME}</a>  > {dr_catpos($catid, ' > ')} > {$title}</div>
<div class="main">
	<!--left_bar-->
	<div class="col-left">
    	<div class="box boxsbg">
        	<div class="contents">
                <h5 class="tit" style="margin:0;padding:4px;">
                    &nbsp;&nbsp;{$title}
                    <span class="Article-Tool"><a href="javascript:;" onclick="dr_favorite();" class="t6">收藏</a></span>
                </h5>
      	<table cellspacing="1" cellpadding="0" align="center" class="down_info">
        <tbody>
        <tr>
          <th>栏目分类：</th>
          <td>{$cat.name}</td>
          <td width="260" rowspan="8" align="center" valign="middle" style="border-right:none"><img width="250" src="{dr_get_file($thumb)}"></td>
        </tr>
        <tr>
          <th>上映地区：</th>
          <td>{$area}</td>
        </tr>
        <tr>
          <th>上映年代：</th>
          <td>{$year}</td>
        </tr>
        <tr>
          <th>视频导演：</th>
          <td>{$director}</td>
        </tr>
        <tr>
          <th>主要演员：</th>
          <td>{$actor}</td>
        </tr>
        <tr>
          <th>更新状态：</th>
          <td>{$schedule}</td>
        </tr>
        <tr>
          <th>更新时间：</th>
          <td class="c_orange">{$updatetime}</td>
        </tr>
		<tr>
          <th>浏览次数：</th>
          <td>{dr_show_hits($id)}次</td>
        </tr>
        
        <tr>
          <th>关键词Tag：</th>
          <td colspan="2">
          	<!--输出Tag标签，这个用法只能在当前show页面使用-->
            {loop $keywords $name $url}
            <a href="{$url}" target="_blank">{$name}</a>
            {/loop}</td>
        </tr>
      </tbody>
      </table>
      <h5 class="tit" style="margin-top:0">分集</h5>
	  	<div class="chapter_list">
             <ul class="movielist movielist_115x70">
                {list action=extend field=name,url,preview cid=$id order=id_asc}
                <li>
                    <a class="pic" target="_blank" href="{$t.url}"><img src="{dr_thumb($t.preview)}" ></a>
                    <h3><a target="_blank" href="{$t.url}">{$t.name}</a></h3>
                </li>
                {/list}
            </ul>
            <div class="clear"></div>
        </div>
      <h5 class="tit">简介</h5>
      <div class="down_intro">
	  {$content}
	  </div>
      
	  </div>
      </div>
    </div>
    <!--right_bar-->
    <div class="col-auto">
    	<div class="box">
            <h5 class="title-2">栏目分类</h5>
            <ul class="content col3 h28">
            	{list action=category pid=0}
            	<li><a href="{$t.url}">{$t.name}</a></li>
                {/list}
            </ul>
        </div>
        <div class="bk10"></div>
        <div class="box">
            <h5 class="title-2">最新房源</h5>
            <ul class="content digg">
            	{list action=module catid=$catid field=title,url order=updatetime num=10}	
				<li><a href="{$t.url}">{$t.title}</a></li>
                {/list}
           	</ul>
        </div>
        <div class="bk10"></div>
        <div class="box">
            <h5 class="title-2">热门房源</h5>
            <ul class="content digg">
            	{list action=module catid=$catid field=title,url order=hits num=10}	
				<li><a href="{$t.url}">{$t.title}</a></li>
                {/list}
            </ul>
        </div>
    </div>
</div>
{template "footer.html","/"}